{% extends "store/index2.html" %}


{% block canvas %}
<div id="itemdetails" class="inner">
{% include "model/item.html" %}
<p>price: {{item.price}}</p>
<p> description: {{item.description}} </p>
<form action="/retailstore/shoppingcart/addtocart/{{item.pk}}" method="post">{% csrf_token %}
	{{form.as_p}}
	Add to cart<input type="submit" value="Add to Cart"/><br />
	
	
</form>
<!--<a href="/retailstore/shoppingcart/addtocart/id={{item.iditem}}"><img src="{{STATIC_URL}}addtocart.png" alt="no img" width="110px" height="70px"/></a>-->
</div>
{% endblock %}   